class User:

    def __init__(self, name):
        self.name = name

    def __str__(self):
        return self.name

    def __eq__(self, other):
        return self.name == other.name

    def __add__(self, other):
        return self.name + other.name

jack = User('jack')
jack1 = User('jack')
rose = User('rose')

print(jack)
print(str(jack))

print(jack + rose)

print(jack == rose)
print(jack == jack1)
